package com.huawang.mdesign.model.service.request;

import com.huawang.mdesign.model.service.dto.propertymerge.PreviewValue;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Collections;
import java.util.List;

/**
 * @auther lairenmao
 * @date 2025/4/16
 * 模型合并结果预览实体类
 */
@Data
public class PropertyMergePreviewVo {
    @Schema(name = "属性key")
    private String propertyKey;

    @Schema(name = "属性名称")
    private String propertyName;

    @Schema(name = "多重性")
    private Boolean isMultiplicity = Boolean.FALSE;

    @Schema(name = "数据类型")
    private String dataType;

    @Schema(name = "标记是否需要更新")
    private Boolean needUpdate = Boolean.FALSE;

    @Schema(name = "合并前元素属性")
    private List<PreviewValue> beforeMergedValue = Collections.emptyList();

    @Schema(name = "目标元素属性")
    private List<PreviewValue> targetPropertyValue = Collections.emptyList();

    @Schema(name = "合并后元素属性")
    private List<PreviewValue> afterMergedValue = Collections.emptyList();
}
